ClosableNativeAdEventListener

A listener for receiving notifications during the lifecycle of a native ad.

Functions

Link copied to clipboard
abstract fun closeNativeAd()

Notifies listener when ad should be closed as a result of user interaction.

Link copied to clipboard
abstract fun onAdClicked()

Called when user clicked on the ad.

Link copied to clipboard
abstract fun onImpression(impressionData: ImpressionData?)

Called when an impression was observed

Link copied to clipboard
abstract fun onLeftApplication()

Called when user is about to leave application (e.g., to go to the browser), as a result of clicking on the ad.

Link copied to clipboard

Called when user returned to application after click.